<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%
    int port = request.getServerPort();
    String serverName = request.getServerName();
    String serverpath = serverName + ":" + port
            + request.getContextPath();
%>
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>大学生通讯社信息管理平台</title>
    <meta name="Keywords" content="大学生通讯社信息管理平台"/>
    <meta name="Description" content="大学生通讯社信息管理平台"/>
    <script type="text/javascript" src="jedate/jedate.js"></script>
    <!-- 站点图片 -->
    <link type="text/css" rel="stylesheet" href="jedate/skin/jedate.css">
    <link href="images/favicon.ico" rel="shortcut icon"/>
    <!-- bootstrap - css -->
    <link href="BJUI/themes/css/bootstrap.css" rel="stylesheet">
    <!-- core - css -->
    <link href="BJUI/themes/css/style.css" rel="stylesheet">
    <link href="BJUI/themes/blue/core.css" id="bjui-link-theme"
          rel="stylesheet">
    <!-- plug - css -->
    <link
            href="BJUI/plugins/kindeditor_4.1.10/themes/default/default.css"
            rel="stylesheet">
    <link
            href="BJUI/plugins/colorpicker/css/bootstrap-colorpicker.min.css"
            rel="stylesheet">
    <link href="BJUI/plugins/niceValidator/jquery.validator.css"
          rel="stylesheet">
    <link href="BJUI/plugins/bootstrapSelect/bootstrap-select.css"
          rel="stylesheet">
    <link href="BJUI/themes/css/FA/css/font-awesome.min.css"
          rel="stylesheet">

    <!--[if lte IE 7]>
    <link href="BJUI/themes/css/ie7.css" rel="stylesheet">
    <![endif]-->
    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lte IE 9]>
    <script src="BJUI/other/html5shiv.min.js"></script>
    <script src="BJUI/other/respond.min.js"></script>
    <![endif]-->
    <!-- jquery -->
    <script src="BJUI/js/jquery-1.11.3.min.js"></script>
    <script src="BJUI/js/jquery.cookie.js"></script>
    <!--[if lte IE 9]>
    <script src="BJUI/other/jquery.iframe-transport.js"></script>
    <![endif]-->
    <!-- BJUI.all 分模块压缩版 -->
    <script src="BJUI/js/bjui-all.js"></script>
    <!-- swfupload for uploadify && kindeditor -->
    <script src="BJUI/plugins/swfupload/swfupload.js"></script>
    <!-- kindeditor -->
    <script charset="utf-8" src="BJUI/plugins/kindeditor_4.1.10/kindeditor-all-min.js"></script>
    <script charset="utf-8" src="BJUI/plugins/kindeditor_4.1.10/lang/zh_CN.js"></script>
    <!-- colorpicker -->
    <script
            src="BJUI/plugins/colorpicker/js/bootstrap-colorpicker.min.js"></script>
    <!-- ztree -->
    <script src="BJUI/plugins/ztree/jquery.ztree.all-3.5.js"></script>
    <!-- nice validate -->
    <script src="BJUI/plugins/niceValidator/jquery.validator.js"></script>
    <script src="BJUI/plugins/niceValidator/jquery.validator.themes.js"></script>
    <!-- bootstrap plugins -->
    <script src="BJUI/plugins/bootstrap.min.js"></script>
    <script src="BJUI/plugins/bootstrapSelect/bootstrap-select.min.js"></script>
    <script src="BJUI/plugins/bootstrapSelect/defaults-zh_CN.min.js"></script>
    <!-- icheck -->
    <script src="BJUI/plugins/icheck/icheck.min.js"></script>
    <!-- dragsort -->
    <script src="BJUI/plugins/dragsort/jquery.dragsort-0.5.1.min.js"></script>
    <%--highcharts--%>
    <%--<script src="BJUI/plugins/highcharts/highcharts.js"></script>
    <script src="BJUI/plugins/highcharts/themes/sand-signika.js"></script>--%>

    <!-- other plugins -->
    <script src="BJUI/plugins/other/jquery.autosize.js"></script>
    <link href="BJUI/plugins/uploadify/css/uploadify.css"
          rel="stylesheet">
    <script src="BJUI/plugins/uploadify/scripts/jquery.uploadify.min.js"></script>
    <script src="BJUI/plugins/download/jquery.fileDownload.js"></script>
    <script src="BJUI/plugins/marquee/jquery.liMarquee.js"></script>
    <link href="BJUI/plugins/marquee/css/liMarquee.css" rel="stylesheet">
    <script src="BJUI/plugins/scrollTo/jquery.scrollTo.js"></script>
    <script src="js/dictManager.js"></script>
    <script src="js/core.js"></script>
    <script type="text/javascript" src="js/midcenter.js"></script>
    <script type="text/javascript" src="js/errorCode.js"></script>
    <script type="text/javascript" src="js/myjs.js"></script>
    <script type="text/javascript" src="js/md5.js"></script>


    <!-- init -->
    <script type="text/javascript">
        var serverPath = '<%=serverpath%>';
        function isIE() { //ie?
            if (!!window.ActiveXObject || "ActiveXObject" in window)
                return true;
            else
                return false;
        }
        var webSocket = null;
        $(function () {
            if (!isIE()) {
                $("#errorie").show();
            }
            BJUI.init({
                JSPATH: 'BJUI/',         //[可选]框架路径
                PLUGINPATH: 'BJUI/plugins/', //[可选]插件路径
                loginInfo: {url: 'login.shtml', title: '登录', width: 400, height: 200}, // 会话超时后弹出登录对话框
                statusCode: {
                    success: 0,
                    failure: -1,
                    timeout: -2,
                    lostCode: -4
                }, //[可选]
                ajaxTimeout: 50000, //[可选]全局Ajax请求超时时间(毫秒)
                pageInfo: {
                    total: 'total',
                    pageCurrent: 'pageNum',
                    pageSize: 'pageSize',
                    orderField: 'orderField',
                    orderDirection: 'orderDirection'
                }, //[可选]分页参数
                alertMsg: {displayPosition: 'topcenter', displayMode: 'slide', alertTimeout: 3000}, //[可选]信息提示的显示位置，显隐方式，及[info/correct]方式时自动关闭延时(毫秒)
                keys: {statusCode: 'code', message: 'message'}, //[可选]
                ui: {
                    windowWidth: 0,    //框架可视宽度，0=100%宽，> 600为则居中显示
                    showSlidebar: true, //[可选]左侧导航栏锁定/隐藏
                    clientPaging: true, //[可选]是否在客户端响应分页及排序参数
                    overwriteHomeTab: true //[可选]当打开一个未定义id的navtab时，是否可以覆盖主navtab(我的主页)
                },
                debug: true,    // [可选]调试模式 [true|false，默认false]
                theme: 'sky' // 若有Cookie['bjui_theme'],优先选择Cookie['bjui_theme']。皮肤[五种皮肤:default, orange, purple, blue, red, green]
            });


            BJUI.setRegional('validatemsg', '填写信息有误，请确认后重试！')

            // main - menu 左侧导航栏 展开、收缩
            // main - menu
            $('#bjui-accordionmenu')
                .collapse()
                .on('hidden.bs.collapse', function (e) {
                    $(this).find('> .panel > .panel-heading').each(function () {
                        var $heading = $(this), $a = $heading.find('> h4 > a')

                        if ($a.hasClass('collapsed')) $heading.removeClass('active')
                    })
                })
                .on('shown.bs.collapse', function (e) {
                    $(this).find('> .panel > .panel-heading').each(function () {
                        var $heading = $(this), $a = $heading.find('> h4 > a')

                        if (!$a.hasClass('collapsed')) $heading.addClass('active')
                    })
                });

            $(document).on('click', 'ul.menu-items li > a', function (e) {
                var $a = $(this), $li = $a.parent(), options = $a.data('options').toObj(), $children = $li.find('> .menu-items-children')
                var onClose = function () {
                    $li.removeClass('active')
                }
                var onSwitch = function () {
                    $('#bjui-accordionmenu').find('ul.menu-items li').removeClass('switch');
                    $li.addClass('switch');
                };

                $li.addClass('active');
                if (options) {
                    options.url = $a.attr('href');
                    options.onClose = onClose;
                    options.onSwitch = onSwitch;
                    if (!options.title) options.title = $a.text();
                    $("#bjui-window").trigger(BJUI.eventType.ajaxStatus);
                    var id = options.id;
                    var datas = $('body').data("bjui.navtab");
                    if (id == "epDetail" && datas && datas[id] != undefined) {
                        $('body').data("bjui.navtab")[id].closeTab(id);
                    }

                    if (!options.target) {
                        $a.navtab(options)
                    }
                    else
                        $a.dialog(options)

                    var $ajaxMask = $("#bjui-window").find('> .bjui-ajax-mask');
                    $ajaxMask.fadeOut('normal', function () {
                        $(this).remove()
                    });
                }
                if ($children.length) {
                    $li.toggleClass('open')
                }

                e.preventDefault()
            })

            //时钟
            var today = new Date(), time = today.getTime()
            $('#bjui-date').html(today.formatDate('yyyy/MM/dd'))
            var setHeight = false;
            /*  setInterval(function() {
             today = new Date(today.setSeconds(today.getSeconds() + 1))
             $('#bjui-clock').html(today.formatDate('HH:mm:ss'))
             $('#bjui-accordionmenu').css({height:($('#bjui-sidebar').height()-26)+'px'});
             }, 1000) */

        })
        //菜单-事件 点击页面跳转事件
        function MainMenuClick(event, treeId, treeNode) {
            event.preventDefault()
            if (treeNode.isParent) {
                var zTree = $.fn.zTree.getZTreeObj(treeId)

                zTree.expandNode(treeNode, !treeNode.open, false, true, true)
                return
            }
            if (treeNode.target && treeNode.target == 'dialog')
                $(event.target).dialog({id: treeNode.tabid, url: treeNode.url, title: treeNode.name})
            else {
                console.log(treeNode.tabid)
                $(event.target).navtab({
                    id: treeNode.tabid,
                    url: treeNode.url,
                    title: treeNode.name,
                    fresh: treeNode.fresh,
                    external: treeNode.external
                })
            }

        }
        /***
         * doAjax-callBack
         */
        function doAjaxCallBack(json) {
            //提交成功后关闭该弹窗并刷新当前nvatab
            $(this).bjuiajax('ajaxDone', json);
            if (json.code == BJUI.statusCode.success) {
                $(this).alertmsg('ok', json.data);
                $.CurrentNavtab.find("#queryform").click();
            } else {
                $(this).alertmsg('error', json.msg);
            }
        }
        /***
         * 分页组件刷新
         * total 总数 pageNum 每页条数，pageSize 总页数
         */
        function refreshPageBar(total, pageNum, pageSize) {
            $.CurrentNavtab.find("#currentPage").html(pageNum);
            $.CurrentNavtab.find("#total").html(total);
            $.CurrentNavtab.find("#pageNunmber").html(Math.ceil(total / pageSize));
            $.CurrentNavtab.find("#pagerForm > input[name=totalsize]").val(Math.ceil(total / pageSize));
        }
        function doAjaxCallBackForDialog(json) {
            //提交成功后关闭该弹窗并刷新当前nvatab
            $(this).bjuiajax('ajaxDone', json);
            if (json.code == BJUI.statusCode.success) {
                $(this).alertmsg('ok', "操作成功");
                $.CurrentNavtab.find("#queryform").click();
                $(this).dialog('closeCurrent');
            } else {
                $(this).alertmsg('error', json.msg);
            }
        }
        /***
         * 显示侧边菜单
         */
        function showSideBar() {
            var $bar = $('#bjui-sidebar');
            var $sbar = $('#bjui-sidebar-s');
            var $lock = $bar.find('> .toggleCollapse > .lock');
            var $navtab = $('#bjui-navtab');
            var $collapse = $sbar.find('.collapse');
            var $split = $('#bjui-splitBar');
            var $split2 = $('#bjui-splitBarProxy');
            $('#bjui-sidebar').addClass('shadown').animate({left: 0}, 500);
            var cleft = $bar.outerWidth() + 4;
            var cwidth = BJUI.windowWidth - $('#bjui-sidebar').width() - 6;
            $lock.find('> i').attr('class', 'fa fa-lock');
            $lock.tooltip('destroy').tooltip({title: '保持锁定，始终显示导航栏', container: 'body'});
            $sbar.animate({left: -10}, 20);
            $bar.removeClass('shadown');
            $navtab.animate({left: cleft, width: cwidth}, 500, function () {
                $(window).trigger(BJUI.eventType.resizeGrid)
            });
            $split.show();
        }
        /***
         * 隐藏侧边菜单
         */
        function hideSideBar() {
            $('#bjui-sidebar').find("> .toggleCollapse > .lock").trigger("click");
        }

        function doAjaxCallBackForMenu(json) {
            //局部刷新页面后重新加载树
            $(this).bjuiajax('ajaxDone', json);
            if (json.code == BJUI.statusCode.success) {
                $.CurrentNavtab.find("#myTree").navtab('refresh');//刷新树
                //$(this).navtab('refresh');
            }
        }
        /**
         * 查询表单重置
         */
        function resetForm() {
            var inputs = $.CurrentNavtab.find("#pagerForm input[name!=fileName]");
            $.each(inputs, function (index, input) {
                $(input).val("");
            });
            $("input[name=pageNum]").val("1");
            $("input[name=pageSize]").val("10");
            var selects = $.CurrentNavtab.find("#pagerForm select");
            $.each(selects, function (index, select) {
                $(select).val("");
                $(select).selectpicker('refresh');
                $(select).trigger("change");
            });
            var datePickers = $.CurrentNavtab.find("input[data-toggle=datepicker]");
            $.each(datePickers, function (index, pick) {
                $(pick).data().minDate = "1970-01-01";
                $(pick).data().maxDate = "%y-%M-%d";
            });

        }
        /***
         * 查询表单-清空查询
         */
        function resetFormAndSearch() {
            resetForm();

        }

        /**不带查询表单的列表操作回调函数*/
        function doAjaxCallBackForNotForm(json) {
            if (json.code == BJUI.statusCode.success) {
                $(this).alertmsg('ok', json.msg);
                $.CurrentNavtab.navtab('refresh');
            } else {
                $(this).alertmsg('error', json.msg);
            }
        }

        /**
         * 初始化下拉
         * @flag 是否是当前Navtab
         * @element 对象所属id
         * @data 下拉数据
         * @showAll 是否增加所有栏
         * @initvalue 初始被选中的值
         */
        function initSelect(flag, element, data, showAll, initvalue) {
            var $select;
            if (flag == true) {
                $select = $.CurrentNavtab.find(element)
            } else {
                $select = $.CurrentDialog.find(element)
            }

            if (!$select) {
                $(selector).alertmsg('warn', "下拉框id不正确");
            } else if (showAll) {
                $select.append('<option value="" selected>全部</option>');
                $.each(data, function () {
                    $select.append("<option value='" + this.id + "'>" + this.name + "</option>");
                });
            } else {
                $.each(data, function () {
                    $select.append("<option value='" + this.id + "'>" + this.name + "</option>");
                });
            }
            if (initvalue != null && initvalue != -1) {
                $select.find("option[value=" + initvalue + "]").attr("selected", "selected");
            }
        }

        /**
         * 初始化复选框
         * @flag 是否是当前Navtab
         * @parentElement 容器父节点标识
         * @elementName checkBox的name属性值
         * @data  json格式的lsit数据集合（应包含checked）
         * @initDate 初始值
         */
        function initCheckbox(flag, parentElement, elementName, data, initDate) {
            var $parentElement;
            if (flag == true) {
                $parentElement = $.CurrentNavtab.find(parentElement)
            } else {
                $parentElement = $.CurrentDialog.find(parentElement)
            }
            if (!$parentElement) {
                $(this).alertmsg('error', '下拉框id后class标识不正确');
                return
            }
            if (initDate == "") {
                $.each(data, function () {
                    $parentElement.append("<input type='checkbox' style='margin: 5px' name='" + elementName + "'  value='" + this.id + "' >&nbsp;" + this.name + "&nbsp;&nbsp;&nbsp;");
                });
            } else {
                $.each(data, function () {
                    if (initDate.indexOf("," + this.id) > -1) { //判断改值是否在初始值数组中
                        $parentElement.append("<input type='checkbox' style='margin: 5px' name='" + elementName + "'  value='" + this.id + "' checked>&nbsp;" + this.name + "&nbsp;&nbsp;&nbsp;");
                    } else {
                        $parentElement.append("<input type='checkbox' style='margin: 5px' name='" + elementName + "'  value='" + this.id + "'>&nbsp;" + this.name + "&nbsp;&nbsp;&nbsp;");
                    }
                });
            }

        }

    </script>

    <!-- for doc begin -->
    <link type="text/css" rel="stylesheet"
          href="js/syntaxhighlighter-2.1.382/styles/shCore.css"/>
    <link type="text/css" rel="stylesheet"
          href="js/syntaxhighlighter-2.1.382/styles/shThemeEclipse.css"/>
    <script type="text/javascript"
            src="js/syntaxhighlighter-2.1.382/scripts/brush.js"></script>
    <script type="text/javascript">

        /**退出方法执行*/
        function logout() {
            //注销登录
            window.location.href = "logout.shtml";
        }

        /***
         * 处理URL中包含了#的弹窗调用
         */

        $(function () {
            SyntaxHighlighter.config.clipboardSwf = '/js/syntaxhighlighter-2.1.382/scripts/clipboard.swf'
            $(document).on(BJUI.eventType.initUI, function (e) {
                SyntaxHighlighter.highlight();
                $('#bjui-accordionmenu').css({height: '95%'});
            });
        });
    </script>


    <%--分页组件--%>
    <script type="application/javascript">
        var page = {
            first: function () {
                $.CurrentNavtab.find("#pagerForm > input[name=pageNum]").val(1);
                $.CurrentNavtab.find("#queryform").click();
            },
            pre: function () {
                var num = parseInt($.CurrentNavtab.find("#pagerForm > input[name=pageNum]").val());
                $.CurrentNavtab.find("#pagerForm > input[name=pageNum]").val(num - 1);
                $.CurrentNavtab.find("#queryform").click();
            },
            next: function () {
                var num = parseInt($.CurrentNavtab.find("#pagerForm > input[name=pageNum]").val());
                $.CurrentNavtab.find("#pagerForm > input[name=pageNum]").val(num + 1);
                $.CurrentNavtab.find("#queryform").click();
            },
            last: function () {
                var num = parseInt($.CurrentNavtab.find("#pagerForm > input[name=totalsize]").val());
                $.CurrentNavtab.find("#pagerForm > input[name=pageNum]").val(num);
                $.CurrentNavtab.find("#queryform").click();
            },
            goto: function () {
                var num = $.CurrentNavtab.find("#selfpagenum").val();
                $.CurrentNavtab.find("#pagerForm > input[name=pageNum]").val(parseInt(num));
                $.CurrentNavtab.find("#queryform").click();
            }
        };


    </script>
    <!-- for doc end -->
</head>
<body>
<style type="text/css">
    #errorie {
        position: absolute;
        top: 0;
        z-index: 100000;
        height: 30px;
        background: #FCF8E3;
        width: 100%;
        display: none;
    }

    #errorie div {
        width: 100%;
        margin: 0 auto;
        line-height: 30px;
        color: orange;
        font-size: 14px;
        text-align: center;
    }

    #errorie div a {
        color: #459f79;
        font-size: 14px;
    }

    #errorie div a:hover {
        text-decoration: underline;
    }
</style>
<%--<div id="errorie">
    <div>
        目前本系统视频浏览推荐使用IE11，请更换至IE11浏览器！ <a target="_blank"
                                          href="http://download.microsoft.com/download/F/2/8/F2871AC4-E82B-4636-BB37-A5F2B14C8616/IE11-Windows6.1-x86-zh-cn.exe">Windows
        32位IE11</a>
        <a href="http://download.microsoft.com/download/5/6/F/56FD6253-CB53-4E38-94C6-74367DA2AB34/IE11-Windows6.1-x64-zh-cn.exe">Windows
            64位IE11</a>
        <a class="btn btn-primary pull-right" href="#"
           onclick="javascript:$('#errorie').hide();">隐藏</a>
    </div>
</div>--%>
<div id="bjui-window">
    <header id="bjui-header">
        <div class="bjui-navbar-header">
            <button type="button" class="bjui-navbar-toggle btn-primary"
                    data-toggle="collapse" data-target="#bjui-navbar-collapse">
                <i class="fa fa-bars"></i>
            </button>
            <a class="bjui-navbar-logo" href="#" style="margin: 5px;"><img src="images/dts_log.png"
                                                                           style="height: 65px; width: 65px;"><img
                    src="images/logo-ql-new.png" style="width:474px;height:50px;"></a>
        </div>
        <nav id="bjui-navbar-collapse">
            <ul class="bjui-navbar-right">
                <li class="datetime">
                    <div>
                        <span id="bjui-date"></span> <span id="bjui-clock"></span>
                    </div>
                </li>
                <li class="datetime">
                    <div>
                        欢迎 <span id="userName" style="color: #ffff00;">${sessionScope.user_session_key.name }</span>
                    </div>
                </li>
                <li class="dropdown"><a href="#" class="dropdown-toggle"
                                        data-toggle="dropdown">我的账户 <span class="caret"></span></a>
                    <ul class="dropdown-menu" role="menu">
                        <li><a
                                href="user/changePassword.shtml"
                                data-toggle="dialog" data-id="changepwd_page" data-mask="true"
                                data-width="500" data-height="280">&nbsp;<span
                                class="glyphicon glyphicon-lock"></span> 修改密码&nbsp;
                        </a></li>
                        <li><a href="user/update.shtml?id=${sessionScope.user_session_key.id}" data-id="cpi"
                               data-title="编辑社员信息" data-height="500"
                               data-width="800" data-mask="true" data-toggle="dialog">&nbsp;<span
                                class="glyphicon glyphicon-user"></span> 我的资料</a></li>
                        <li class="divider"></li>
                        <li><a href="loginOut.shtml" class="red">&nbsp; <span
                                class="glyphicon glyphicon-off"></span> 注销登陆
                        </a></li>


                    </ul>
                </li>
                <li class="dropdown"><a href="#"
                                        class="dropdown-toggle theme blue" data-toggle="dropdown"
                                        title="切换皮肤"><i class="fa fa-tree"></i></a>
                    <ul class="dropdown-menu" role="menu" id="bjui-themes">
                        <li><a href="javascript:;" class="theme_default"
                               data-toggle="theme" data-theme="default">&nbsp;<i
                                class="fa fa-tree"></i> 黑白分明&nbsp;&nbsp;
                        </a></li>
                        <li><a href="javascript:;" class="theme_orange"
                               data-toggle="theme" data-theme="orange">&nbsp;<i
                                class="fa fa-tree"></i> 橘子红了
                        </a></li>
                        <li><a href="javascript:;" class="theme_purple"
                               data-toggle="theme" data-theme="purple">&nbsp;<i
                                class="fa fa-tree"></i> 紫罗兰
                        </a></li>
                        <li class="active"><a href="javascript:;" class="theme_blue"
                                              data-toggle="theme" data-theme="blue">&nbsp;<i
                                class="fa fa-tree"></i> 天空蓝
                        </a></li>
                        <li><a href="javascript:;" class="theme_green"
                               data-toggle="theme" data-theme="green">&nbsp;<i
                                class="fa fa-tree"></i> 绿草如茵
                        </a></li>
                    </ul>
                </li>
            </ul>
        </nav>
        <div id="bjui-hnav">
            <button type="button" class="btn-default bjui-hnav-more-left" title="导航菜单左移"><i
                    class="fa fa-angle-double-left"></i></button>
            <div id="bjui-hnav-navbar-box">
                <ul id="bjui-hnav-navbar">
                    <c:forEach begin="0" end="0" var="menu" items="${menuList}">
                        <c:if test="${menu.level==1}">
                            <li class="active">
                                <a href="javascript:;" data-toggle="slidebar"><i class="fa fa-home"></i> ${menu.name}
                                </a>
                                <div class="items hide" data-noinit="true">
                                    <ul class="menu-items" data-faicon="hand-o-up">
                                        <c:forEach var="secondmenu" items="${menuList}">
                                            <c:if test="${secondmenu.level==2 && secondmenu.parentId==menu.id}">
                                                <li><a href="${secondmenu.url}"
                                                       data-options="{id:'active${secondmenu.id}', faicon:'${secondmenu.icon }'}">${secondmenu.name}</a>
                                                </li>
                                            </c:if>
                                        </c:forEach>
                                    </ul>
                                </div>
                            </li>
                        </c:if>
                    </c:forEach>
                    <c:forEach begin="1" var="menu" items="${menuList}">
                        <c:if test="${menu.level==1}">
                            <li>
                                <a href="javascript:;" data-toggle="slidebar"><i class="fa fa-home"></i> ${menu.name}
                                </a>
                                <div class="items hide" data-noinit="true">
                                    <ul class="menu-items" data-faicon="hand-o-up">
                                        <c:forEach var="secondmenu" items="${menuList}">
                                            <c:if test="${secondmenu.level==2 && secondmenu.parentId==menu.id}">
                                                <li><a href="${secondmenu.url}"
                                                       data-options="{id:'noactive${secondmenu.id}', faicon:'${secondmenu.icon }'}">${secondmenu.name}</a>
                                                </li>
                                            </c:if>
                                        </c:forEach>
                                    </ul>
                                </div>
                            </li>
                        </c:if>
                    </c:forEach>
                </ul>
            </div>
            <button type="button" class="btn-default bjui-hnav-more-right" title="导航菜单右移"><i
                    class="fa fa-angle-double-right"></i></button>
        </div>
    </header>
    <div id="bjui-container" class="clearfix">
        <div id="bjui-leftside">
            <div id="bjui-sidebar-s">
                <div class="collapse"></div>
            </div>
            <div id="bjui-sidebar">
                <div class="toggleCollapse">
                    <h2>
                        <i class="fa fa-bars"></i> 导航 <i class="fa fa-bars"></i>
                    </h2>
                    <a href="javascript:;" class="lock"><i class="fa fa-lock"></i></a>
                </div>
                <div class="panel-group panel-main" data-toggle="accordion"
                     style="overflow: scroll; height: 95%;" id="bjui-accordionmenu"></div>
            </div>
        </div>
        <div id="bjui-navtab" class="tabsPage">
            <div class="tabsPageHeader">
                <div class="tabsPageHeaderContent">
                    <ul class="navtab-tab nav nav-tabs">
                        <li data-url="first.shtml" data-faicon="home" data-options="{id:'user'}"><a
                                href="javascript:;"><span><i class="fa fa-home"></i>
										首页</span></a></li>
                    </ul>
                </div>
                <div class="tabsLeft">
                    <i class="fa fa-angle-double-left"></i>
                </div>
                <div class="tabsRight">
                    <i class="fa fa-angle-double-right"></i>
                </div>
                <div class="tabsMore">
                    <i class="fa fa-angle-double-down"></i>
                </div>
            </div>
            <ul class="tabsMoreList">
                <li><a href="javascript:;">首页</a></li>
            </ul>
            <div class="navtab-panel tabsPageContent">
                <div class="navtabPage unitBox">
                    <div class="bjui-pageContent" style="background: #FFF;">
                        Loading...
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div id="dialog" data-toggle="dialog" data-width="800"
         data-height="400" data-id="dialog-mask" data-mask="true"></div>
    <footer id="bjui-footer"> 版权所有：商洛学院大学生通讯社 copyright &copy;
        2017-2018
    </footer>
</div>
<iframe src='about:blank' id="overDiv" class="forocx" frameBorder='0' marginHeight='0' marginWidth='0'
        style='position: absolute; visibility: inherit; top: 0px; left: 0px; width: 100%; height: 100%; z-index: -1; filter: alpha(opacity = 0);'></iframe>
<iframe src="" id="exportFrame" frameborder="0"><input type="texg" value="ssss"></iframe>
</body>
</html>